﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Macro_stone.PoModel.MyModelPo
{
    /// <summary>
    /// 考勤管理—考勤统计管理—年假以及带薪假统计
    /// </summary>
    [Table("Holidays")]
    public class HolidaysPo
    {
        /// <summary>
        /// 年假以及带薪假统计id
        /// </summary>
        [Key]
        public int hol_id { get; set; }
        /// <summary>
        /// 考勤管理—考勤统计管理—考勤统计id
        /// </summary>
        public int sta_id { get; set; }
        /// <summary>
        /// 请假
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal hol_vacate { get; set; }
        /// <summary>
        /// 迟到
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal hol_late { get; set; }
        /// <summary>
        /// 加班
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal hol_overtime { get; set; }
        /// <summary>
        /// 年假
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal hol_AnnualLeave { get; set; }
        /// <summary>
        /// 婚假
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal hol_MarriageLeave { get; set; }
        /// <summary>
        /// 产/陪产假
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal hol_MaternityLeave { get; set; }
        /// <summary>
        /// 丧假
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal hol_FuneralLeave { get; set; }
        /// <summary>
        /// 事假
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal hol_PersonalLeave { get; set; }
        /// <summary>
        /// 病假
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal hol_SickLeave { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal hol_note { get; set; }
        /// <summary>
        /// 上月剩余去年年假
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal hol_lastAnnualLeave { get; set; }
        /// <summary>
        /// 上月剩余今年年假
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal hol_currentAnnualLeave { get; set; }
        /// <summary>
        /// 本月剩余去年年假
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal hol_LastYear { get; set; }
        /// <summary>
        /// 本月剩余今年年假
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal hol_ThisYear { get; set; }

    }
}
